#ifndef CUVLightDATA_H
#define CUVLightDATA_H

#include "CFileManager.h"
#include <assert.h>

class CUVLightData : public CFileManager
{
private:
    /** UVLight Data */
    double m_dHandCh1Data;
    double m_dHandCh2Data;
	double m_dHandCh3Data;
	double m_dHandCh4Data;
	double m_dHandCh5Data;

	double m_dManualCh1Data;
    double m_dManualCh2Data;
	double m_dManualCh3Data;
	double m_dManualCh4Data;
	double m_dManualCh5Data;

	double m_dAutoMaxData;
	double m_dAutoMinData;
	double m_dHandMaxData;
	double m_dHandMinData;
	double m_dAutoAverageData;
	double m_dHandAverageData;

public:
	
	CUVLightData(CString strFileName, CString strPath);
	CUVLightData(CString strFileName);
	~CUVLightData();   
	
    int ReadUVLightData();
    int WriteUVLightData();
	void SetLihgtPath(CString strPath);
	
    double	GetHANDCh1Data(){return m_dHandCh1Data;}
	double	GetHANDCh2Data(){return m_dHandCh2Data;}
	double	GetHANDCh3Data(){return m_dHandCh3Data;}
	double	GetHANDCh4Data(){return m_dHandCh4Data;}
	double	GetHANDCh5Data(){return m_dHandCh5Data;}

	double	GetManualCh1Data(){return m_dManualCh1Data;}
	double	GetManualCh2Data(){return m_dManualCh2Data;}
	double	GetManualCh3Data(){return m_dManualCh3Data;}
	double	GetManualCh4Data(){return m_dManualCh4Data;}
	double	GetManualCh5Data(){return m_dManualCh5Data;}

	double	GetAutoMax(){return m_dAutoMaxData;}
	double	GetAutoMin(){return m_dAutoMinData;}
	double	GetHandMax(){return m_dHandMaxData;}
	double	GetHandMin(){return m_dHandMinData;}
	double	GetAutoAverage(){return m_dAutoAverageData;}
	double	GetHandAverage(){return m_dHandAverageData;}
    
	void SetHandCh1Data(double dHandCh1Data){m_dHandCh1Data = dHandCh1Data;}
	void SetHandCh2Data(double dHandCh2Data){m_dHandCh2Data = dHandCh2Data;}
	void SetHandCh3Data(double dHandCh3Data){m_dHandCh3Data = dHandCh3Data;}
	void SetHandCh4Data(double dHandCh4Data){m_dHandCh4Data = dHandCh4Data;}
	void SetHandCh5Data(double dHandCh5Data){m_dHandCh5Data = dHandCh5Data;}

	void SetManualCh1Data(double dManualCh1Data){m_dManualCh1Data = dManualCh1Data;}
	void SetManualCh2Data(double dManualCh2Data){m_dManualCh2Data = dManualCh2Data;}
	void SetManualCh3Data(double dManualCh3Data){m_dManualCh3Data = dManualCh3Data;}
	void SetManualCh4Data(double dManualCh4Data){m_dManualCh4Data = dManualCh4Data;}
	void SetManualCh5Data(double dManualCh5Data){m_dManualCh5Data = dManualCh5Data;}

	void SetAutoMax(double dAutoMaxData){m_dAutoMaxData = dAutoMaxData;}
	void SetAutoMin(double dAutoMinData){m_dAutoMinData = dAutoMinData;}
	void SetHandMax(double dHandMaxData){m_dHandMaxData = dHandMaxData;}
	void SetHandMin(double dHandMinData){m_dHandMinData = dHandMinData;}
	void SetAutoAverage(double dAutoAverageData){m_dAutoAverageData = dAutoAverageData;}
	void SetHandAverage(double dHandAverageData){m_dHandAverageData = dHandAverageData;}
};
#endif //CMODELDATA_H
